package HLLibClasses;

import HLCode.HLClassManager;
import HLCode.HLLibClass;
import HLCode.HLObject;
import HLLib.purchase.HLADWallManager;

public class HLClassADWallManager extends HLLibClass {
    public HLClassADWallManager(HLClassManager owner) {
        super(owner);
    }

    public HLObject NewObject() {
        return new HLADWallManager();
    }

    public void StaticExecute(int index, HLObject args, HLObject resultOwnerObject, int resultIndex) {
        switch (index) {
        case 0: {
            HLADWallManager.SetWalltype(args.GetInt(0));
            break;
        }
        case 1: {
            if (resultOwnerObject == null) {
                HLADWallManager.GetWall();
            } else {
                resultOwnerObject.SetObject(resultIndex, HLADWallManager.GetWall());
            }
            break;
        }
        }
    }
}
